AndroidBitmap_lockPixels

Given a java bitmap object, attempt to lock the pixel address. Locking will ensure that the memory for the pixels will not move until the unlockPixels call, and ensure that, if the pixels had been previously purged, they will have been restored.

If this call succeeds, it must be balanced by a call to AndroidBitmap_unlockPixels, after which time the address of the pixels should no longer be used.

If this succeeds, *addrPtr will be set to the pixel address. If the call fails, addrPtr will be ignored.

extern (C) nothrow @nogc
int
AndroidBitmap_lockPixels
(
JNIEnv* env
,
jobject jbitmap
,
void** addrPtr
)

Meta